﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Ue.Infrastructure.Data
{
    public interface IUnitOfWorkRepository<TEntity,TKey>
        where TEntity : IEntity<TKey>
    {
        void PersistNewItem(TEntity item);

        void PersistUpdatedItem(TEntity item);

        void PersistDeletedItem(TEntity item);
    }
}
